﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using UniversityManagementSystem.Manager;

namespace UniversityManagementSystem.DAL
{
    public class Building
    {
        public string BuildingId { get; set; }
        public string BuildingName { get; set; }
        public string RoomNo { get; set; }

        BuildingManager manager = new BuildingManager();
        public List<Building> GetAllBuildings()
        {
            return manager.GetAllBuildings();
        }

        public List<Building> GetAllRooms(string buildingId)
        {
            return manager.GetAllRooms(buildingId);
        }
    }
}